<section class="container">
<div class="content-wrap">
<div class="content">
  <div id="focusslide" class="carousel slide" data-ride="carousel">
	<ol class="carousel-indicators">
	  <li data-target="#focusslide" data-slide-to="0" class="active"></li>
	  <li data-target="#focusslide" data-slide-to="1"></li>
	</ol>
	<div class="carousel-inner" role="listbox">
	  {volist name="_G.rollBar" id="rollBar" key="index"}
	  <div class="item  {if condition="$index eq 1"}active{/if}">
	  <a href="{$rollBar.url}" title="{$rollBar.title}" >
	  <img src="{$rollBar.src}" alt="{$rollBar.title}" class="img-responsive"></a>
	  </div>
	  {/volist}
	</div>
	<a class="left carousel-control" href="#focusslide" role="button" data-slide="prev" rel="nofollow"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">上一个</span> </a> <a class="right carousel-control" href="#focusslide" role="button" data-slide="next" rel="nofollow"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">下一个</span> </a> </div>
	{volist name="_G.promote" id="promote"}
  	<article class="excerpt-minic excerpt-minic-index">
		<h2><span class="red">【{$promote.cat_name}】</span><a href="/detail/{$promote.aid}" title="{$promote.title}" >{$promote.title}</a>
		</h2>
		<p class="note">{$promote.summary}</p>
	</article>
	{/volist}
  <div class="title">
	<h3>最新发布</h3>
	<div class="more">     
		{volist name="_G.newstag" id="newstag"}           
			<a href="{$newstag.url}" title="{$newstag.name}" >{$newstag.name}</a>  
		{/volist}              
		</div>
  </div>
  	{volist name="_G.newest" id="newest"}
  	<article class="excerpt excerpt-1" style="">
  	<a class="focus" href="/detail/{$newest.aid}" title="{$newest.title}" ><img class="thumb" data-original="{$newest.headpic}" src="{$newest.headpic}" alt="{$newest.title}"  style="display: inline;"></a>
		<header><a class="cat" href="/cat/{$newest.catid}" title="{$newest.cat_name}" >{$newest.cat_name}<i></i></a>
			<h2><a href="/detail/{$newest.aid}" title="{$newest.title}" >{$newest.title}</a>
			</h2>
		</header>
		<p class="meta">
			<time class="time"><i class="glyphicon glyphicon-time"></i> {$newest.pub_time|date="y-m-d",###}</time>
			<a class="comment" title="评论" ><i class="glyphicon glyphicon-comment"></i> {$newest.reply_count}</a>
		</p>
		<p class="note">{$newest.summary}</p>

	</article>
	{/volist}
</div>
</div>
<aside class="sidebar">
<div class="fixed">
  <div class="widget widget-tabs">
	<ul class="nav nav-tabs" role="tablist">
	  <li role="presentation" class="active"><a href="#notice" aria-controls="notice" role="tab" data-toggle="tab" >统计信息</a></li>
	  <li role="presentation"><a href="#contact" aria-controls="contact" role="tab" data-toggle="tab" >联系站长</a></li>
	</ul>
	<div class="tab-content">
	  <div role="tabpanel" class="tab-pane contact active" id="notice">
		<h2>资讯总数:
			  {$_G.count.num}篇
		  </h2>
		  <h2>网站运行:
		  <span id="sitetime">{$_G.count.date}天 </span></h2>
	  </div>
		<div role="tabpanel" class="tab-pane contact" id="contact">
		  <h2>Email:
		  <a href="mailto:{$_G.count.email}" data-toggle="tooltip" rel="nofollow" data-placement="bottom" title=""  data-original-title="mailto:{$_G.count.email}">{$_G.count.email}</a></h2>
	  </div>
	</div>
  </div>
</div>
<div class="widget widget_hot">
	  <h3>热门评论文章</h3>
	  <ul>   
	  		{volist name="_G.hotest" id="hotest"}         
			<li><a title="{$hotest.title}" href="/detail/{$hotest.aid}" ><span class="thumbnail">
				<img class="thumb" data-original="{$hotest.headpic}" src="{$hotest.headpic}" alt="{$hotest.title}"  style="display: block;">
			</span><span class="text">{$hotest.title}</span><span class="muted"><i class="glyphicon glyphicon-time"></i>
				{$hotest.pub_time|date="Y-m-d", ###}
			</span><span class="muted"><i class="glyphicon glyphicon-comment"></i> {$hotest.reply_count}</span></a></li>
			{/volist}

	  </ul>
 </div>
 {volist name="_G.ads" id="ads"}
 <div class="widget widget_sentence">    
	<a href="{$ads.url}" target="_blank" rel="nofollow" title="{$ads.title}" >
	<img style="width: 100%" src="{$ads.src}" alt="{$ads.title}" ></a>    
 </div>
 {/volist}
<div class="widget widget_sentence">
  <h3>友情链接</h3>
  <div class="widget-sentence-link">
  	{volist name="_G.link" id="link"}
		<a href="{$link.url}" title="{$link.name}" target="_blank" >{$link.name}</a> | 
	{/volist}
  </div>
</div>
</aside>
</section>
<footer class="footer">
<div class="container">
<p>Copyright &copy; 2017</p>
</div>
<div id="gotop"><a class="gotop"></a></div>
</footer>

